home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / pupworld.swf / scripts / __Packages / Heroes / AnyBox.as next >
Encoding:
Text File  |  2011-06-09  |  494 b   |  28 lines

  1. class Heroes.AnyBox extends MovieClip
  2. {
  3.    var myBox;
  4.    var x;
  5.    var y;
  6.    var z;
  7.    var w;
  8.    var b;
  9.    var h;
  10.    function AnyBox()
  11.    {
  12.       super();
  13.       this._visible = false;
  14.    }
  15.    function onEnterFrame()
  16.    {
  17.       if(this.myBox.x != null)
  18.       {
  19.          this.x = this.myBox.x;
  20.          this.y = this.myBox.y;
  21.          this.z = this.myBox.z;
  22.          this.w = this.myBox.w;
  23.          this.b = this.myBox.b;
  24.          this.h = this.myBox.h;
  25.       }
  26.    }
  27. }
  28.